package com.ai.nsa.utils;

import static com.ai.nsa.NSAConstants.UNDERLINE;

/**
 * @author Feng Chen 2017/6/12.
 */
public abstract class KeyUtils {

    private KeyUtils() {

    }

    public static String get(String... strs) {
        StringBuilder builder = new StringBuilder();

        if (strs != null && strs.length != 0) {
            for (String str : strs) {
                if (str != null && str.length() != 0) {
                    builder.append(str).append(UNDERLINE);
                }
            }

        }
        return builder.substring(0, builder.length() - 1);
    }

}
